<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
</head>
<?php
	$username=$_POST['username'];
	$link=mysql_connect(SAE_MYSQL_HOST_M.':'.SAE_MYSQL_PORT,SAE_MYSQL_USER,SAE_MYSQL_PASS);
                if($link)
                {
                    mysql_select_db(SAE_MYSQL_DB,$link);
                    //your code goes here	
                }
				$sql ='delete FROM login where username='.'"'.$username.'";';
				 $result = mysql_query($sql)
                        or die(SQL语句执行失败);
				echo '删除成功';
					echo '<script language="javascript">
							setTimeout("window.history.back(-1);",1000); 
						  </script>
					';

?>
<body>
</body>
</html>